<div class="custom-control custom-switch">
    <input id="${1:my-input}" class="custom-control-input" type="checkbox" name="$2" value="${3:true}">
    <label for="$1" class="custom-control-label">${4:Text}</label>
</div>